package com.example.carbonbackend.model.dto;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Data
@Component
public class EGCarbonemissionDto {
    private Long companyId;
    private String companyName;
    private String year;
    private List<FossilFuelDto> fossilFuelList=new ArrayList<FossilFuelDto>();
    private List<DesulfurizerDto> desulfurizerList=new ArrayList<DesulfurizerDto>();
    private Double aDE;
    private Double eFE;
    private Double eBurn;
    private Double eDesul;
    private Double eElec;
    private Double e;
    public EGCarbonemissionDto(){
        fossilFuelList.add(new FossilFuelDto("燃煤",23210.0,27.49,0.94));
        fossilFuelList.add(new FossilFuelDto("原油",41816.0,20.08,0.98));
        fossilFuelList.add(new FossilFuelDto("燃料油",41816.0,21.1,0.98));
        fossilFuelList.add(new FossilFuelDto("汽油",43070.0,18.9,0.98));
        fossilFuelList.add(new FossilFuelDto("柴油",42652.0,20.2,0.98));
        fossilFuelList.add(new FossilFuelDto("炼厂干气",45998.0,18.2,0.98));
        fossilFuelList.add(new FossilFuelDto("天然气",38931.0,15.32,0.99));
        fossilFuelList.add(new FossilFuelDto("焦炉煤气",17406.0,13.6,0.99));
        fossilFuelList.add(new FossilFuelDto("其他煤气",52270.0,12.2,0.99));
        desulfurizerList.add(new DesulfurizerDto("CaCO3",0.440));
        desulfurizerList.add(new DesulfurizerDto("MgCO3",0.440));
        desulfurizerList.add(new DesulfurizerDto("Na2CO3",0.522));
        desulfurizerList.add(new DesulfurizerDto("BaCO3",0.415));
        desulfurizerList.add(new DesulfurizerDto("Li2CO3",0.223));
        desulfurizerList.add(new DesulfurizerDto("K2CO3",0.596));
        desulfurizerList.add(new DesulfurizerDto("SrCO3",0.298));
        desulfurizerList.add(new DesulfurizerDto("NaHCO3",0.524));
        desulfurizerList.add(new DesulfurizerDto("FeCO3",0.380));
        this.e=0.0;
        this.eBurn=0.0;
        this.eElec=0.0;
        this.eDesul=0.0;
    }

}
